import request from '@/utils/request'

// 查询
export function get(query) {
  return request({
    url: '/jixiao/plan/assessmentProgress/detail/personDetail/getDetailVOList',
    method: 'get',
    params: query
  })
}

export function addScore(query) {
  return request({
    url: '/jixiao/plan/assessmentProgress/detail/personDetail/addScore',
    method: 'put',
    params: query
  })
}

export function updateStatus(query) {
  return request({
    url: '/jixiao/plan/assessmentProgress/detail/personDetail/updateStatus',
    method: 'put',
    params: query
  })
}
export function updateFinalScore(query) {
  return request({
    url: '/jixiao/plan/assessmentProgress/detail/personDetail/updateFinalScore',
    method: 'put',
    params: query
  })
}

export function getIndicatorInfo(id) {
  return request({
    url: '/jixiao/assessment/'+id,
    method: 'get'
  }) 
}
